//
//  BIDMenuViewController.h
//  党务通
//
//  Created by mal on 13-11-15.
//  Copyright (c) 2013年 mal. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "BIDDataCommunication.h"
#import "BIDLoginViewController.h"
#import "BIDBaseViewController.h"

@interface BIDMenuViewController : BIDBaseViewController<UICollectionViewDelegate, UICollectionViewDataSource>
    {
        NSArray *_menuArr;
    }
@property (strong, nonatomic) NSMutableArray *imgArr;
@property (strong, nonatomic) NSMutableArray *titleArr;

@property (strong, nonatomic) UICollectionView *menuCollectionView;
@property (strong, nonatomic) UINavigationController *navController;

@property (strong, nonatomic)UIImageView *bgImgView;

//角标显示的数目
@property (assign, nonatomic) int cornerMarkCount;
//用来保存角标的数目和所属的模块索引的数组
@property (strong, nonatomic)NSMutableArray *cornerCountsAndIndexArr;

- (void)getCornerMarkCount:(NSArray*)arr;

//根据模块的索引获得角标数目
- (int)getCornerCountByIndex:(int)index;

//
- (void)backBtnHandler;

- (void)setTheme;

@end
